]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
keyring: Align some srtings to right in RTL
authorYosef Or Boczko <yoseforb@gmail.com>
Wed, 11 Dec 2013 20:40:18 +0000 (22:40 +0200)
committerYosef Or Boczko <yoseforb@gmail.com>
Wed, 11 Dec 2013 20:40:18 +0000 (22:40 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=712594

data/theme/gnome-shell.css
js/ui/components/keyring.js

index 4749c417a92d9fc62332d4ebc6822edf252253b1..91fca2d06ae12d13cce29a9f5bde5b7c28cac65e 100644 (file)
@@ -2095,6 +2095,10 @@ StScrollBar StButton#vhandle:active {
     color: #666666;
 }
 
+.prompt-dialog-description:rtl {
+    text-align: right;
+}
+
 .prompt-dialog-password-box {
     spacing: 1em;
     padding-bottom: 1em;
index a5f5e1bdf68d6534f7db2c141ba32298b0464fb6..41d921eca28c9a551e164d189801f61b83c4feb5 100644 (file)
@@ -45,7 +45,9 @@ const KeyringDialog = new Lang.Class({
         this.prompt.bind_property('message', subject, 'text', GObject.BindingFlags.SYNC_CREATE);
 
         this._messageBox.add(subject,
-                             { y_fill:  false,
+                             { x_fill: false,
+                               y_fill:  false,
+                               x_align: St.Align.START,
                                y_align: St.Align.START });
 
         let description = new St.Label({ style_class: 'prompt-dialog-description' });